<include file="header" />
<body>
<div class="wraper">
	<div class="head clearfix">
		<a href="{BEESCRM::U('/Base/userCenter/index',array('account_id'=>$accountId))}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">消息中心</span>
	</div>

	<empty name="data">
			<div class="norecord">
				<img src="/assets/base/userCenter/images/nomsg.png"/>
				<p>没有消息记录</p>
			</div>
		<else />
		<foreach name="data" item="vo">
			<a href="{BEESCRM::U('/base/UserCenter/messageDetails',array('id' => $vo['m_id'],'accountId'=>$accountId))}" class="lists">
				<div class="tb-mode">
					<div class="tb-cell">
						<p <if condition="$vo['read'] eq 1"> class="text-green" <else /> class="text-grey"</if> >{BEESCRM:$vo.m_title}</p>
						<p class="text-grey">{BEESCRM:$vo.create_time|date="Y-m-d H:i",###}</p>
					</div>
					<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
				</div>
			</a>
		</foreach>
	</empty>

</div>
<script type="text/javascript" src="/assets/base/userCenter/modules/sea.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/assets/base/userCenter/static/publicjs/config.js"></script>
</body>
</html>